<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
git init
添加.gitignore
<div>
App/Runtime/
*~
Public/attached/
/*.buildpath
/*.project
/.settings
/.idea
</div>
git add .
git commit -m "创建项目"
//推送并且创建项目远端仓库
git remote add origin git@gitee.com:raphael23/racle.net.git
//删除和添加远程仓库衔接
git remote rm origin
git remote add origin git@github.com:Liutos/foobar.git
// git 强行覆盖本地分支
git fetch --all
git reset --hard origin/master
git pull
//phpstorm设置可以拖拽更新
git branch --set-upstream master origin/master
</body>
</html>